package com.hspedu.pkg;

import com.hspedu.modifier.A;

public class Test {
    public static void main(String[] args) {
        A a = new A();
        //不同包下只能访问public修饰的属性
        a.m1();
        System.out.println(a.n1);
    }

}
